package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "taohua_voice")
public class Voice implements java.io.Serializable{

     private static final long serialVersionUID = 4003173826820874230L;

     private ObjectId id;

     private Long userId; //发送者id

     private String gender;//发送者性别

     private String voiceUrl;//音频的存储地址

     private Integer isAcceptable;// 是否可被接收 false:0 true:1

     private Long created;//发布时间

}